package a.e.b;

import java.util.HashMap;
import java.util.Map;

public final class e
  implements k
{
  private final Map a;
  public static boolean b;
  
  public e()
  {
    this(new HashMap());
  }
  
  public e(Map paramMap)
  {
    if (g.o == 0)
    {
      if (paramMap == null) {
        throw new IllegalArgumentException("map must not be null");
      }
      this.a = paramMap;
    }
  }
  
  public void a(Class paramClass, Object paramObject)
  {
    int i = g.o;
    boolean bool = g.n;
    if ((i != 0) || (paramObject == null))
    {
      this.a.put(paramClass, paramObject);
      if ((i == 0) && (!bool)) {}
    }
    else
    {
      if (i == 0)
      {
        if (paramClass.isInstance(paramObject)) {
          this.a.put(paramClass, paramObject);
        }
      }
      else if (!bool) {
        return;
      }
      throw new IllegalArgumentException("Value not of type!");
    }
  }
  
  public Object a(Class paramClass)
  {
    return this.a.get(paramClass);
  }
  
  public boolean b(Class paramClass)
  {
    return this.a.containsKey(paramClass);
  }
  
  public void c(Class paramClass)
  {
    this.a.remove(paramClass);
  }
}


/* Location:           E:\idea\
 * Qualified Name:     a.e.b.e
 * JD-Core Version:    0.7.0.1
 */